package com.zhangrui.dao;

import com.zhangrui.pojo.Teacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:TeacherMapper
 * Package:com.zhangrui.dao
 * Description:
 *
 * @Date:2021/8/2322:43
 * @Author:zhangrui@qq.com
 */
public interface TeacherMapper {
    //    List<Teacher> getTeacher();
//    获取指定老师下的所有学生以及老师的信息
    Teacher getTeacher(@Param("tid") int id);

    Teacher getTeacher2(@Param("tid") int id);
}
